package com.cheer.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author cheer
 */
@Data
public class OaNoticeAddDTO {

    @NotBlank(message = "消息内容不能为空")
    @Length(max = 100, message = "消息内容字符数不能大于100")
    private String content;

}
